{* Template Name:分页 *}
{if $pagebar}
{foreach $pagebar.buttons as $k=>$v}
  {if $pagebar.PageNow==$k}
	<li class="current"><a href="{$v}">{$k}</a></li>
  {else}
	<li><a href="{$v}">{$k}</a></li>
  {/if}
{/foreach}
{/if}